package com.gec.book.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gec.book.pojo.Book;
import com.gec.book.pojo.resp.BookResp;
import com.gec.book.service.BookService;
import com.gec.book.mapper.BookMapper;
import org.springframework.stereotype.Service;

/**
* @author huanling
* @description 针对表【book】的数据库操作Service实现
* @createDate 2024-04-24 20:37:15
*/
@Service
public class BookServiceImpl extends ServiceImpl<BookMapper, Book>
    implements BookService{

    @Override
    public IPage<BookResp> findBookListByPage(IPage<BookResp> page, Integer id) {
        return this.baseMapper.findBookAndCategory(page,id);
    }


}




